package com.baizhi.dao;

import com.baizhi.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BannerDao {
    List<Banner> selectAll(@Param("bannerOldName") String bannerOldName);
    Banner selectOne(Integer id);
    void insert(Banner banner);
    void update(Banner banner);  //修改一个对象
    void falseDeletes(Integer id);
}
